<load file="__PUBLIC__/header.html"/>
<ul class="top_title">
    <li>
        <p class="menu_title">系统全局参数</p>
    </li>
</ul>
<form action="__CONTROL__/setConfig" method="post" name="setSystem">
    <table class="table">
        <thead>
            <tr>
                <th align="center" colspan="2">系统全局参数设置</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td align="right" width="40%">网站名称：</td>
                <td align="left">
                    <input type="text" name="web_title" value="{$hd.config.web_title}"/>
                </td>
            </tr>
            <tr>
                <td align="right">网站热点关键词：</td>
                <td align="left">
                    <input type="text" name="web_keywords" value="{$hd.config.web_keywords}" class="input-big"/>
                </td>
            </tr>
            <tr>
                <td align="right">网站描述：</td>
                <td align="left">
                    <textarea name="web_description">{$hd.config.web_description}</textarea>
                </td>
            </tr>
            <tr>
                <td align="right">全局缓存时间：</td>
                <td align="left">
                    <input type='text' name='cache_default_time' value='{$hd.config.cache_default_time}' class='input-medium'/><span class='remark'>秒</span>
                </td>
            </tr>
            <tr>
                <td align="right">首页缓存时间：</td>
                <td align="left">
                    <input type='text' name='index_cache' value='{$hd.config.index_cache}' class='input-medium'/><span class='remark'>秒</span>
                </td>
            </tr>
            <tr>
                <td align="right">信息列表页缓存时间：</td>
                <td align="left">
                    <input type='text' name='list_cache' value='{$hd.config.list_cache}' class='input-medium'/><span class='remark'>秒</span>
                </td>
            </tr>
            <tr>
                <td align="right">菜单栏显示层级：</td>
                <td align="left">
                    <input type='text' name='nav_show_level' value='{$hd.config.nav_show_level}' class='input-medium'/><span class='remark'>默认2级，最多3级</span>
                </td>
            </tr>
            <tr>
                <td align="right">网站公告：</td>
                <td align="left">
                    <textarea name="announcement">{$hd.config.announcement}</textarea>
                    
                </td>
            </tr>

            <tr>
                <td align="right">友情链接：</td>
                <td align="left">
                    <textarea name="flink">{$hd.config.flink}</textarea>
                    <p>输入多个以 | 隔开，如<span style="color:#666;">&lt;a href=""&gt;链接1&lt;/a&gt; | &lt;1a href=""&gt;链接2&lt;/a&gt;</span> </p>
                </td>
            </tr>

            <tr>
                <td colspan="2" align="center">
                    <input type="submit" class="menu_submit" value="保存修改"/>
                </td>
            </tr>
        </tbody>
    </table>
</form>
<script>
    $('.menu_submit').click(function(){
        jqueryuiConfirm('确认修改？','setSystem');
        return false;
    });
</script>
</body>
</html>